"""
读取WORD文件数据
"""

from langchain_community.document_loaders import UnstructuredWordDocumentLoader

file_path = "../data/document/人事管理流程.docx"
loader = UnstructuredWordDocumentLoader(file_path)
documents = loader.load()
for doc in documents:
    print(doc.page_content)